import { ApiProperty } from "@nestjs/swagger";
import { Menu } from "src/modules/system/menu/entities/menu.entity";

export class LoginResDto {
    @ApiProperty({ description: 'Access Token'})
    accessToken: string;
    @ApiProperty({ description: '用户ID'})
    userId: string;
    @ApiProperty({ description: '用户名'})
    username: string;
    @ApiProperty({ description: '姓名'})
    realName: string;
    @ApiProperty({ description: '角色ID'})
    roleId: string;
    @ApiProperty({ description: '角色名称'})
    roleName: string;
    @ApiProperty({ description: '头像'})
    avatar: string;
}